<div class="row">
    <div class="col-md-12">
        <!-- BEGIN PAGE TITLE & BREADCRUMB-->
        <h3 class="page-title">
            <?=get_var('title', __('No Title'))?>
            <? if (isset($subtitle)): ?>
                <small><?=$subtitle?></small>
            <? endif; ?>
        </h3>
        <ul class="page-breadcrumb breadcrumb">
            <li>
                <i class="fa fa-home"></i>
                <a href="index.html"><?=__('Home')?></a>
            </li>

            <!-- 面包屑导航 -->
            <? foreach (get_var('breadcrumbs', array()) as $_p): ?>
                <li>
                    <i class="fa fa-angle-right"></i>
                    <?=is_array($_p) ? link_to($_p) : "<span>$_p</span>"?>
                </li>
            <? endforeach; ?>

            <!-- 快捷链接 -->
            <? if (isset($quickLinks)): ?>
            <li class="btn-group">
                <button type="button" class="btn blue dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-delay="1000" data-close-others="true">
                    <span><?=__('Quick Links')?></span>
                    <i class="fa fa-angle-down"></i>
                </button>
                <ul class="dropdown-menu pull-right" role="menu">
                    <? foreach ($quickLinks as $_l): ?>
                        <? if (in_array($_l, array('divider', 'line', '-', 'separator'))): ?>
                            <li class="divider"></li>
                        <? else: ?>
                            <li><?=link_to($_l)?></li>
                        <? endif; ?>
                    <? endforeach; ?>
                    <li class="divider"></li>
                    <li>
                        <a href="javascript:history.back(-1);">
                            <i class="fa fa-arrow-left"></i> <?=__('Back')?>
                        </a>
                    </li>
                </ul>
            </li>
            <? endif; ?>

        </ul>
        <!-- END PAGE TITLE & BREADCRUMB-->
    </div>
</div>
